// samsting : this file is auto create.

#include "Rds/2014-08-15/DescribeSQLLogRecordsResponse.h"

namespace aliyun { namespace Rds {

DescribeSQLLogRecordsResponse::DescribeSQLLogRecordsResponse() {
}

const string& DescribeSQLLogRecordsResponse::SQLRecord::GetDBName(void) const {
  return DBName_;
}

const string& DescribeSQLLogRecordsResponse::SQLRecord::GetAccountName(void) const {
  return AccountName_;
}

const string& DescribeSQLLogRecordsResponse::SQLRecord::GetHostAddress(void) const {
  return HostAddress_;
}

const string& DescribeSQLLogRecordsResponse::SQLRecord::GetSQLText(void) const {
  return SQLText_;
}

int64 DescribeSQLLogRecordsResponse::SQLRecord::GetTotalExecutionTimes(void) const {
  return TotalExecutionTimes_;
}

int64 DescribeSQLLogRecordsResponse::SQLRecord::GetReturnRowCounts(void) const {
  return ReturnRowCounts_;
}

const string& DescribeSQLLogRecordsResponse::SQLRecord::GetExecuteTime(void) const {
  return ExecuteTime_;
}

const std::vector<DescribeSQLLogRecordsResponse::SQLRecord>& DescribeSQLLogRecordsResponse::GetItems(void) const {
  return Items_;
}

int DescribeSQLLogRecordsResponse::GetTotalRecordCount(void) const {
  return TotalRecordCount_;
}

int DescribeSQLLogRecordsResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int DescribeSQLLogRecordsResponse::GetPageRecordCount(void) const {
  return PageRecordCount_;
}

const char* DescribeSQLLogRecordsResponse::BaseKey(void) {
  return "DescribeSQLLogRecordsResponse";
}

void DescribeSQLLogRecordsResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Items__length = 0;
  UnmarshallerInt(Items__length, response_map, "DescribeSQLLogRecordsResponse.Items.Length");
  if(Items__length >= 0) {
    Items_.resize(Items__length);
    for(int i1 = 0; i1 < Items__length; i1++) {
      UnmarshallerString(Items_[i1].DBName_, response_map, "DescribeSQLLogRecordsResponse.Items["+string_ValueOfInt(i1)+"].DBName");
      UnmarshallerString(Items_[i1].AccountName_, response_map, "DescribeSQLLogRecordsResponse.Items["+string_ValueOfInt(i1)+"].AccountName");
      UnmarshallerString(Items_[i1].HostAddress_, response_map, "DescribeSQLLogRecordsResponse.Items["+string_ValueOfInt(i1)+"].HostAddress");
      UnmarshallerString(Items_[i1].SQLText_, response_map, "DescribeSQLLogRecordsResponse.Items["+string_ValueOfInt(i1)+"].SQLText");
      UnmarshallerInt64(Items_[i1].TotalExecutionTimes_, response_map, "DescribeSQLLogRecordsResponse.Items["+string_ValueOfInt(i1)+"].TotalExecutionTimes");
      UnmarshallerInt64(Items_[i1].ReturnRowCounts_, response_map, "DescribeSQLLogRecordsResponse.Items["+string_ValueOfInt(i1)+"].ReturnRowCounts");
      UnmarshallerString(Items_[i1].ExecuteTime_, response_map, "DescribeSQLLogRecordsResponse.Items["+string_ValueOfInt(i1)+"].ExecuteTime");
    } // for(int i1 = 0; i1 < Items__length; i1++) {
  } // if(Items__length >= 0) {

  UnmarshallerInt(TotalRecordCount_, response_map, "DescribeSQLLogRecordsResponse.TotalRecordCount");
  UnmarshallerInt(PageNumber_, response_map, "DescribeSQLLogRecordsResponse.PageNumber");
  UnmarshallerInt(PageRecordCount_, response_map, "DescribeSQLLogRecordsResponse.PageRecordCount");
}


} } // namespace aliyun { namespace Rds {

// end of file 
